package com.mstore.pojo;


public class Tariff {

	/**
	 * 资费id
	 */
	private Long tariffId;

	/**
	 * 资费名称
	 */
	private String tariffName;

	/**
	 * 商品
	 */
	private Goods goods;

	/**
	 * 状态 0有效 1无效
	 */
	private int status;

	/**
	 * 价格
	 */
	private float fee;

	/**
	 * 有效天数(0代表永久有效,计数商品该值为0)
	 */
	private int validDays;

	/**
	 * 商品数量(计数商品使用此属性)
	 */
	private int amount;

	/**
	 * 资费开始时间(从哪一天有效,默认为空)
	 * 该属性相当于商品上架时间
	 * 表现为从设定时间起商户可在资费表中看见该商品并能购买
	 */
	private String beginDate;

	/**
	 * 资费结束时间(到哪一天无效,默认为空)
	 * 该属性相当于商品下架时间
	 * 表现为从设定时间起商户不能在资费表中看见该商品并购买
	 */
	private String endDate;

	/**
	 * 资费创建日期
	 */
	private String createDate;

	/**
	 * 备注
	 */
	private String description;

	public Long getTariffId() {
		return tariffId;
	}

	public void setTariffId(Long tariffId) {
		this.tariffId = tariffId;
	}

	public String getTariffName() {
		return tariffName;
	}

	public void setTariffName(String tariffName) {
		this.tariffName = tariffName;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public float getFee() {
		return fee;
	}

	public void setFee(float fee) {
		this.fee = fee;
	}

	public int getValidDays() {
		return validDays;
	}

	public void setValidDays(int validDays) {
		this.validDays = validDays;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
